

	import info.gridworld.actor.ActorWorld;
	import info.gridworld.grid.Location;

import java.awt.Color;

public class UnitRunner {

	    public static void main(String[] args)
	    {
	    	
	    	Headquarters MillerHQ = new Headquarters();
	    	Headquarters MajorHQ = new Headquarters();
	    	Headquarters SteeleHQ = new Headquarters();

	        ActorWorld world = new ActorWorld();
	        BATTLEBOT_ROCKET alice = new BATTLEBOT_ROCKET();
	        world.add(new Location(9, 9), alice);
	        ((Unit)(alice)).setHQ(MillerHQ);

	        BATTLEBOT_ROCKET joe = new BATTLEBOT_ROCKET();
	        world.add(new Location(8, 8), joe);
	        joe.setColor(Color.GREEN);
	        ((Unit)(joe)).setHQ(MajorHQ);

	        BATTLEBOT_AIMBOT arthur = new BATTLEBOT_AIMBOT();
	        world.add(new Location(4, 4), arthur);
	        arthur.setColor(Color.CYAN);
	        ((Unit)(arthur)).setHQ(MajorHQ);
	        arthur.setPlayer(4);
	        
	        ARTILLERY frank = new ARTILLERY();
	        world.add(new Location(9, 8), frank);
	        frank.setColor(Color.ORANGE);
	        ((Unit)(frank)).setHQ(MajorHQ);
	        
	        TANK_HEAVY bob = new TANK_HEAVY();
	        alice.setColor(Color.RED);
	        world.add(new Location(8, 9), bob);
	        ((Unit)(bob)).setHQ(SteeleHQ);
	        
	        TANK_LIGHT kyle = new TANK_LIGHT();
	        kyle.setColor(Color.RED);
	        world.add(new Location(3, 9), kyle);
	        ((Unit)(kyle)).setHQ(SteeleHQ);

	        world.show();
	    }
}
